package com.cn.transfer.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName(value = "SA_SaleOrder")
public class SaSaleOrder {
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "code")
    private String code;

    @TableField(value = "name")
    private String name;

    @TableField(value = "discountRate")
    private BigDecimal discountrate;

    @TableField(value = "discountAmount")
    private BigDecimal discountamount;

    @TableField(value = "origDiscountAmount")
    private BigDecimal origdiscountamount;

    @TableField(value = "exchangeRate")
    private BigDecimal exchangerate;

    @TableField(value = "address")
    private String address;

    @TableField(value = "linkMan")
    private String linkman;

    @TableField(value = "contractCode")
    private String contractcode;

    @TableField(value = "origEarnestMoney")
    private BigDecimal origearnestmoney;

    @TableField(value = "earnestMoney")
    private BigDecimal earnestmoney;

    @TableField(value = "memo")
    private String memo;

    @TableField(value = "origAmount")
    private BigDecimal origamount;

    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(value = "origTaxAmount")
    private BigDecimal origtaxamount;

    @TableField(value = "taxAmount")
    private BigDecimal taxamount;

    @TableField(value = "contactPhone")
    private String contactphone;

    @TableField(value = "maker")
    private String maker;

    @TableField(value = "auditor")
    private String auditor;

    @TableField(value = "reviser")
    private String reviser;

    @TableField(value = "iscarriedforwardout")
    private Byte iscarriedforwardout;

    @TableField(value = "iscarriedforwardin")
    private Byte iscarriedforwardin;

    @TableField(value = "ismodifiedcode")
    private Byte ismodifiedcode;

    @TableField(value = "docid")
    private String docid;

    @TableField(value = "ts")
    private Date ts;

    @TableField(value = "updatedBy")
    private String updatedby;

    @TableField(value = "priuserdefnvc1")
    private String priuserdefnvc1;

    @TableField(value = "priuserdefdecm1")
    private BigDecimal priuserdefdecm1;

    @TableField(value = "priuserdefnvc2")
    private String priuserdefnvc2;

    @TableField(value = "priuserdefdecm2")
    private BigDecimal priuserdefdecm2;

    @TableField(value = "priuserdefnvc3")
    private String priuserdefnvc3;

    @TableField(value = "priuserdefdecm3")
    private BigDecimal priuserdefdecm3;

    @TableField(value = "priuserdefnvc4")
    private String priuserdefnvc4;

    @TableField(value = "priuserdefdecm4")
    private BigDecimal priuserdefdecm4;

    @TableField(value = "priuserdefnvc5")
    private String priuserdefnvc5;

    @TableField(value = "priuserdefdecm5")
    private BigDecimal priuserdefdecm5;

    @TableField(value = "priuserdefnvc6")
    private String priuserdefnvc6;

    @TableField(value = "priuserdefdecm6")
    private BigDecimal priuserdefdecm6;

    @TableField(value = "pubuserdefnvc1")
    private String pubuserdefnvc1;

    @TableField(value = "pubuserdefdecm1")
    private BigDecimal pubuserdefdecm1;

    @TableField(value = "pubuserdefnvc2")
    private String pubuserdefnvc2;

    @TableField(value = "pubuserdefdecm2")
    private BigDecimal pubuserdefdecm2;

    @TableField(value = "pubuserdefnvc3")
    private String pubuserdefnvc3;

    @TableField(value = "pubuserdefdecm3")
    private BigDecimal pubuserdefdecm3;

    @TableField(value = "pubuserdefnvc4")
    private String pubuserdefnvc4;

    @TableField(value = "pubuserdefdecm4")
    private BigDecimal pubuserdefdecm4;

    @TableField(value = "pubuserdefnvc5")
    private String pubuserdefnvc5;

    @TableField(value = "pubuserdefdecm5")
    private BigDecimal pubuserdefdecm5;

    @TableField(value = "pubuserdefnvc6")
    private String pubuserdefnvc6;

    @TableField(value = "pubuserdefdecm6")
    private BigDecimal pubuserdefdecm6;

    @TableField(value = "IsAutoGenerateSaleOrderBOM")
    private Byte isautogeneratesaleorderbom;

    @TableField(value = "IsAutoGenerateRouting")
    private Byte isautogeneraterouting;

    @TableField(value = "SourceVoucherCode")
    private String sourcevouchercode;

    @TableField(value = "isnomodify")
    private String isnomodify;

    @TableField(value = "changer")
    private String changer;

    @TableField(value = "Mobilephone")
    private String mobilephone;

    @TableField(value = "MemberAddress")
    private String memberaddress;

    @TableField(value = "PrintCount")
    private Integer printcount;

    @TableField(value = "IsSeparateByWareHouse")
    private Byte isseparatebywarehouse;

    @TableField(value = "OrigReceiveAmount")
    private BigDecimal origreceiveamount;

    @TableField(value = "ReceiveAmount")
    private BigDecimal receiveamount;

    @TableField(value = "collaborateVoucherCode")
    private String collaboratevouchercode;

    @TableField(value = "ExternalCode")
    private String externalcode;

    @TableField(value = "idbusinesstype")
    private Integer idbusinesstype;

    @TableField(value = "idcurrency")
    private Integer idcurrency;

    @TableField(value = "iddepartment")
    private Integer iddepartment;

    @TableField(value = "IdMember")
    private Integer idmember;

    @TableField(value = "idmarketingOrgan")
    private Integer idmarketingorgan;

    @TableField(value = "idcustomer")
    private Integer idcustomer;

    @TableField(value = "idsettlecustomer")
    private Integer idsettlecustomer;

    @TableField(value = "idclerk")
    private Integer idclerk;

    @TableField(value = "idproject")
    private Integer idproject;

    @TableField(value = "idwarehouse")
    private Integer idwarehouse;

    @TableField(value = "idCollaborateUpVoucherType")
    private Integer idcollaborateupvouchertype;

    @TableField(value = "idCollaborateUpVoucher")
    private Integer idcollaborateupvoucher;

    @TableField(value = "DataSource")
    private Integer datasource;

    @TableField(value = "deliveryMode")
    private Integer deliverymode;

    @TableField(value = "isCancel")
    private Integer iscancel;

    @TableField(value = "isSaleDelivery")
    private Integer issaledelivery;

    @TableField(value = "isSaleOut")
    private Integer issaleout;

    @TableField(value = "reciveType")
    private Integer recivetype;

    @TableField(value = "voucherState")
    private Integer voucherstate;

    @TableField(value = "auditorid")
    private Integer auditorid;

    @TableField(value = "makerid")
    private Integer makerid;

    @TableField(value = "changerid")
    private Integer changerid;

    @TableField(value = "idCollaborateDownVoucherType")
    private Integer idcollaboratedownvouchertype;

    @TableField(value = "CollaborateState")
    private Integer collaboratestate;

    @TableField(value = "idCollaborateDownDraftVoucher")
    private Integer idcollaboratedowndraftvoucher;

    @TableField(value = "SourceVoucherID")
    private Integer sourcevoucherid;

    @TableField(value = "idsourcevouchertype")
    private Integer idsourcevouchertype;

    @TableField(value = "deliveryDate")
    private Date deliverydate;

    @TableField(value = "voucherdate")
    private Date voucherdate;

    @TableField(value = "madedate")
    private Date madedate;

    @TableField(value = "auditeddate")
    private Date auditeddate;

    @TableField(value = "createdtime")
    private Date createdtime;

    @TableField(value = "updated")
    private Date updated;

    @TableField(value = "changedate")
    private Date changedate;

    @TableField(value = "ExternalVoucherCode")
    private String externalvouchercode;

    @TableField(value = "CustomerPhone")
    private String customerphone;

    @TableField(value = "HasRecordCredit")
    private Boolean hasrecordcredit;

    @TableField(value = "IsAutoWarehouse")
    private Boolean isautowarehouse;

    @TableField(value = "InputDataSource")
    private Integer inputdatasource;

    @TableField(value = "Closer")
    private String closer;

    @TableField(value = "CloseDate")
    private Date closedate;

    @TableField(value = "DirectCallSource")
    private Integer directcallsource;

    @TableField(value = "ReturnOrderType")
    private Integer returnordertype;

    @TableField(value = "ReturnOrderReason")
    private String returnorderreason;

    @TableField(value = "idLogisticsNetwork")
    private Integer idlogisticsnetwork;

    @TableField(value = "TransDocNo")
    private String transdocno;

    @TableField(value = "DeliveryCode")
    private String deliverycode;

    @TableField(value = "DeliveryVoucherDate")
    private Date deliveryvoucherdate;

    @TableField(value = "TransDriverName")
    private String transdrivername;

    @TableField(value = "TransDriverPhone")
    private String transdriverphone;

    @TableField(value = "TransVehicleInfo")
    private String transvehicleinfo;

    @TableField(value = "LogisticsFee")
    private BigDecimal logisticsfee;

    @TableField(value = "LogisticsSettlementModes")
    private Integer logisticssettlementmodes;

    @TableField(value = "LogisticsStatus")
    private Integer logisticsstatus;

    @TableField(value = "returnReason")
    private Integer returnreason;

    @TableField(value = "ElecOrderFlag")
    private Integer elecorderflag;

    @TableField(value = "IsMarkDelivery")
    private Integer ismarkdelivery;

    @TableField(value = "IsDeliverySource")
    private Integer isdeliverysource;

    @TableField(value = "IdCountry")
    private Integer idcountry;

    @TableField(value = "IdProvince")
    private Integer idprovince;

    @TableField(value = "IdCity")
    private Integer idcity;

    @TableField(value = "IdDistrict")
    private Integer iddistrict;

    @TableField(value = "PostCode")
    private String postcode;

    @TableField(value = "ElecOrderInfoKey")
    private String elecorderinfokey;

    @TableField(value = "pubuserdefnvc7")
    private String pubuserdefnvc7;

    @TableField(value = "pubuserdefnvc8")
    private String pubuserdefnvc8;

    @TableField(value = "CustomerMemo")
    private String customermemo;

    @TableField(value = "agency")
    private String agency;

    @TableField(value = "agencyid")
    private Integer agencyid;

    @TableField(value = "idReceiveWarehouse")
    private Integer idreceivewarehouse;

    @TableField(value = "IsReadOnly")
    private Boolean isreadonly;

    @TableField(value = "DistributionMode")
    private Integer distributionmode;

    @TableField(value = "idDistributionLine")
    private Integer iddistributionline;

    @TableField(value = "DeliveryTime")
    private Date deliverytime;

    @TableField(value = "DeliveryPhoto")
    private String deliveryphoto;

    @TableField(value = "idCarDispatcher")
    private Integer idcardispatcher;

    @TableField(value = "DispatchTime")
    private Date dispatchtime;

    @TableField(value = "EntruckingTime")
    private Date entruckingtime;

    @TableField(value = "idSendPerson")
    private Integer idsendperson;

    @TableField(value = "idTransVehicle")
    private Integer idtransvehicle;

    @TableField(value = "ReturnOrderRelationID")
    private String returnorderrelationid;

    @TableField(value = "SelfDistributionVoucherDisabled")
    private Boolean selfdistributionvoucherdisabled;

    @TableField(value = "AuditedTime")
    private Date auditedtime;

    @TableField(value = "DriversName")
    private String driversname;

    @TableField(value = "VehiclesName")
    private String vehiclesname;

    @TableField(value = "ShiftNumber")
    private String shiftnumber;

    @TableField(value = "DriverCount")
    private Integer drivercount;

    @TableField(value = "AddressCoordinate")
    private String addresscoordinate;

    @TableField(value = "pubuserdefnvc9")
    private String pubuserdefnvc9;

    @TableField(value = "pubuserdefnvc10")
    private String pubuserdefnvc10;

    @TableField(value = "idBOMRule")
    private Integer idbomrule;

    @TableField(value = "IsDistributionBlueGenRed")
    private Boolean isdistributionbluegenred;

    @TableField(value = "BackToWarehouseTime")
    private Date backtowarehousetime;

    @TableField(value = "busOpAttachCount")
    private Integer busopattachcount;

    public static final String COL_ID = "ID";

    public static final String COL_CODE = "code";

    public static final String COL_NAME = "name";

    public static final String COL_DISCOUNTRATE = "discountRate";

    public static final String COL_DISCOUNTAMOUNT = "discountAmount";

    public static final String COL_ORIGDISCOUNTAMOUNT = "origDiscountAmount";

    public static final String COL_EXCHANGERATE = "exchangeRate";

    public static final String COL_ADDRESS = "address";

    public static final String COL_LINKMAN = "linkMan";

    public static final String COL_CONTRACTCODE = "contractCode";

    public static final String COL_ORIGEARNESTMONEY = "origEarnestMoney";

    public static final String COL_EARNESTMONEY = "earnestMoney";

    public static final String COL_MEMO = "memo";

    public static final String COL_ORIGAMOUNT = "origAmount";

    public static final String COL_AMOUNT = "amount";

    public static final String COL_ORIGTAXAMOUNT = "origTaxAmount";

    public static final String COL_TAXAMOUNT = "taxAmount";

    public static final String COL_CONTACTPHONE = "contactPhone";

    public static final String COL_MAKER = "maker";

    public static final String COL_AUDITOR = "auditor";

    public static final String COL_REVISER = "reviser";

    public static final String COL_ISCARRIEDFORWARDOUT = "iscarriedforwardout";

    public static final String COL_ISCARRIEDFORWARDIN = "iscarriedforwardin";

    public static final String COL_ISMODIFIEDCODE = "ismodifiedcode";

    public static final String COL_DOCID = "docid";

    public static final String COL_TS = "ts";

    public static final String COL_UPDATEDBY = "updatedBy";

    public static final String COL_PRIUSERDEFNVC1 = "priuserdefnvc1";

    public static final String COL_PRIUSERDEFDECM1 = "priuserdefdecm1";

    public static final String COL_PRIUSERDEFNVC2 = "priuserdefnvc2";

    public static final String COL_PRIUSERDEFDECM2 = "priuserdefdecm2";

    public static final String COL_PRIUSERDEFNVC3 = "priuserdefnvc3";

    public static final String COL_PRIUSERDEFDECM3 = "priuserdefdecm3";

    public static final String COL_PRIUSERDEFNVC4 = "priuserdefnvc4";

    public static final String COL_PRIUSERDEFDECM4 = "priuserdefdecm4";

    public static final String COL_PRIUSERDEFNVC5 = "priuserdefnvc5";

    public static final String COL_PRIUSERDEFDECM5 = "priuserdefdecm5";

    public static final String COL_PRIUSERDEFNVC6 = "priuserdefnvc6";

    public static final String COL_PRIUSERDEFDECM6 = "priuserdefdecm6";

    public static final String COL_PUBUSERDEFNVC1 = "pubuserdefnvc1";

    public static final String COL_PUBUSERDEFDECM1 = "pubuserdefdecm1";

    public static final String COL_PUBUSERDEFNVC2 = "pubuserdefnvc2";

    public static final String COL_PUBUSERDEFDECM2 = "pubuserdefdecm2";

    public static final String COL_PUBUSERDEFNVC3 = "pubuserdefnvc3";

    public static final String COL_PUBUSERDEFDECM3 = "pubuserdefdecm3";

    public static final String COL_PUBUSERDEFNVC4 = "pubuserdefnvc4";

    public static final String COL_PUBUSERDEFDECM4 = "pubuserdefdecm4";

    public static final String COL_PUBUSERDEFNVC5 = "pubuserdefnvc5";

    public static final String COL_PUBUSERDEFDECM5 = "pubuserdefdecm5";

    public static final String COL_PUBUSERDEFNVC6 = "pubuserdefnvc6";

    public static final String COL_PUBUSERDEFDECM6 = "pubuserdefdecm6";

    public static final String COL_ISAUTOGENERATESALEORDERBOM = "IsAutoGenerateSaleOrderBOM";

    public static final String COL_ISAUTOGENERATEROUTING = "IsAutoGenerateRouting";

    public static final String COL_SOURCEVOUCHERCODE = "SourceVoucherCode";

    public static final String COL_ISNOMODIFY = "isnomodify";

    public static final String COL_CHANGER = "changer";

    public static final String COL_MOBILEPHONE = "Mobilephone";

    public static final String COL_MEMBERADDRESS = "MemberAddress";

    public static final String COL_PRINTCOUNT = "PrintCount";

    public static final String COL_ISSEPARATEBYWAREHOUSE = "IsSeparateByWareHouse";

    public static final String COL_ORIGRECEIVEAMOUNT = "OrigReceiveAmount";

    public static final String COL_RECEIVEAMOUNT = "ReceiveAmount";

    public static final String COL_COLLABORATEVOUCHERCODE = "collaborateVoucherCode";

    public static final String COL_EXTERNALCODE = "ExternalCode";

    public static final String COL_IDBUSINESSTYPE = "idbusinesstype";

    public static final String COL_IDCURRENCY = "idcurrency";

    public static final String COL_IDDEPARTMENT = "iddepartment";

    public static final String COL_IDMEMBER = "IdMember";

    public static final String COL_IDMARKETINGORGAN = "idmarketingOrgan";

    public static final String COL_IDCUSTOMER = "idcustomer";

    public static final String COL_IDSETTLECUSTOMER = "idsettlecustomer";

    public static final String COL_IDCLERK = "idclerk";

    public static final String COL_IDPROJECT = "idproject";

    public static final String COL_IDWAREHOUSE = "idwarehouse";

    public static final String COL_IDCOLLABORATEUPVOUCHERTYPE = "idCollaborateUpVoucherType";

    public static final String COL_IDCOLLABORATEUPVOUCHER = "idCollaborateUpVoucher";

    public static final String COL_DATASOURCE = "DataSource";

    public static final String COL_DELIVERYMODE = "deliveryMode";

    public static final String COL_ISCANCEL = "isCancel";

    public static final String COL_ISSALEDELIVERY = "isSaleDelivery";

    public static final String COL_ISSALEOUT = "isSaleOut";

    public static final String COL_RECIVETYPE = "reciveType";

    public static final String COL_VOUCHERSTATE = "voucherState";

    public static final String COL_AUDITORID = "auditorid";

    public static final String COL_MAKERID = "makerid";

    public static final String COL_CHANGERID = "changerid";

    public static final String COL_IDCOLLABORATEDOWNVOUCHERTYPE = "idCollaborateDownVoucherType";

    public static final String COL_COLLABORATESTATE = "CollaborateState";

    public static final String COL_IDCOLLABORATEDOWNDRAFTVOUCHER = "idCollaborateDownDraftVoucher";

    public static final String COL_SOURCEVOUCHERID = "SourceVoucherID";

    public static final String COL_IDSOURCEVOUCHERTYPE = "idsourcevouchertype";

    public static final String COL_DELIVERYDATE = "deliveryDate";

    public static final String COL_VOUCHERDATE = "voucherdate";

    public static final String COL_MADEDATE = "madedate";

    public static final String COL_AUDITEDDATE = "auditeddate";

    public static final String COL_CREATEDTIME = "createdtime";

    public static final String COL_UPDATED = "updated";

    public static final String COL_CHANGEDATE = "changedate";

    public static final String COL_EXTERNALVOUCHERCODE = "ExternalVoucherCode";

    public static final String COL_CUSTOMERPHONE = "CustomerPhone";

    public static final String COL_HASRECORDCREDIT = "HasRecordCredit";

    public static final String COL_ISAUTOWAREHOUSE = "IsAutoWarehouse";

    public static final String COL_INPUTDATASOURCE = "InputDataSource";

    public static final String COL_CLOSER = "Closer";

    public static final String COL_CLOSEDATE = "CloseDate";

    public static final String COL_DIRECTCALLSOURCE = "DirectCallSource";

    public static final String COL_RETURNORDERTYPE = "ReturnOrderType";

    public static final String COL_RETURNORDERREASON = "ReturnOrderReason";

    public static final String COL_IDLOGISTICSNETWORK = "idLogisticsNetwork";

    public static final String COL_TRANSDOCNO = "TransDocNo";

    public static final String COL_DELIVERYCODE = "DeliveryCode";

    public static final String COL_DELIVERYVOUCHERDATE = "DeliveryVoucherDate";

    public static final String COL_TRANSDRIVERNAME = "TransDriverName";

    public static final String COL_TRANSDRIVERPHONE = "TransDriverPhone";

    public static final String COL_TRANSVEHICLEINFO = "TransVehicleInfo";

    public static final String COL_LOGISTICSFEE = "LogisticsFee";

    public static final String COL_LOGISTICSSETTLEMENTMODES = "LogisticsSettlementModes";

    public static final String COL_LOGISTICSSTATUS = "LogisticsStatus";

    public static final String COL_RETURNREASON = "returnReason";

    public static final String COL_ELECORDERFLAG = "ElecOrderFlag";

    public static final String COL_ISMARKDELIVERY = "IsMarkDelivery";

    public static final String COL_ISDELIVERYSOURCE = "IsDeliverySource";

    public static final String COL_IDCOUNTRY = "IdCountry";

    public static final String COL_IDPROVINCE = "IdProvince";

    public static final String COL_IDCITY = "IdCity";

    public static final String COL_IDDISTRICT = "IdDistrict";

    public static final String COL_POSTCODE = "PostCode";

    public static final String COL_ELECORDERINFOKEY = "ElecOrderInfoKey";

    public static final String COL_PUBUSERDEFNVC7 = "pubuserdefnvc7";

    public static final String COL_PUBUSERDEFNVC8 = "pubuserdefnvc8";

    public static final String COL_CUSTOMERMEMO = "CustomerMemo";

    public static final String COL_AGENCY = "agency";

    public static final String COL_AGENCYID = "agencyid";

    public static final String COL_IDRECEIVEWAREHOUSE = "idReceiveWarehouse";

    public static final String COL_ISREADONLY = "IsReadOnly";

    public static final String COL_DISTRIBUTIONMODE = "DistributionMode";

    public static final String COL_IDDISTRIBUTIONLINE = "idDistributionLine";

    public static final String COL_DELIVERYTIME = "DeliveryTime";

    public static final String COL_DELIVERYPHOTO = "DeliveryPhoto";

    public static final String COL_IDCARDISPATCHER = "idCarDispatcher";

    public static final String COL_DISPATCHTIME = "DispatchTime";

    public static final String COL_ENTRUCKINGTIME = "EntruckingTime";

    public static final String COL_IDSENDPERSON = "idSendPerson";

    public static final String COL_IDTRANSVEHICLE = "idTransVehicle";

    public static final String COL_RETURNORDERRELATIONID = "ReturnOrderRelationID";

    public static final String COL_SELFDISTRIBUTIONVOUCHERDISABLED = "SelfDistributionVoucherDisabled";

    public static final String COL_AUDITEDTIME = "AuditedTime";

    public static final String COL_DRIVERSNAME = "DriversName";

    public static final String COL_VEHICLESNAME = "VehiclesName";

    public static final String COL_SHIFTNUMBER = "ShiftNumber";

    public static final String COL_DRIVERCOUNT = "DriverCount";

    public static final String COL_ADDRESSCOORDINATE = "AddressCoordinate";

    public static final String COL_PUBUSERDEFNVC9 = "pubuserdefnvc9";

    public static final String COL_PUBUSERDEFNVC10 = "pubuserdefnvc10";

    public static final String COL_IDBOMRULE = "idBOMRule";

    public static final String COL_ISDISTRIBUTIONBLUEGENRED = "IsDistributionBlueGenRed";

    public static final String COL_BACKTOWAREHOUSETIME = "BackToWarehouseTime";

    public static final String COL_BUSOPATTACHCOUNT = "busOpAttachCount";
}